﻿using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;

public class FavoritesCtl 
{
    private static FavoritesCtl _ins;
    public static FavoritesCtl Inst{
        get
        {
            if (_ins == null)
                _ins = new FavoritesCtl();
            return _ins;
        }
    }

    public void Add(string path)
    {
        FavoriteItem item = new FavoriteItem();
        item.imagePath = path;
        item.imageSubType = FavoriteItemType.NotYet;
        FavoritesModel.Inst.Add(item);
    }
}
